hdpScreen

fun Number.hdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.hdpScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.hdp by default, 50.hdp on television with height >= 800.

PT Extensão para Dp com dimensionamento dinâmico baseado na Altura da Tela (hDP). Usa o valor base por padrão, mas quando o dispositivo corresponde ao uiModeType E a métrica de tela para qualifierType é >= qualifierValue, usa screenValue no lugar. Exemplo de uso: 30.hdpScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.hdp por padrão, 50.hdp na televisão com height >= 800.


fun ERROR CLASS: Symbol not found for Dp.hdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

PT Extensão para Dp com dimensionamento dinâmico baseado na Altura da Tela (hDP). Retorna o valor original auto-escalonado usando o qualificador especificado se a condição não for atendida. Quando o dispositivo corresponde ao uiModeType E a métrica de tela para qualifierType é >= qualifierValue, usa screenValue no lugar.